package com.example.message.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.message.entity.PersonInfo;
import com.example.message.entity.Task1;
import javafx.concurrent.Task;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Task1Mapper extends BaseMapper<Task1> {

	IPage<List<Task>> getTaskById(Page page, @Param("taskId")int taskId);

	List<PersonInfo> getDeptUser(@Param("deptId")String deptId);

}
